public class CIC {
    public static void main(String[] args){
        Outer test = new Outer();
        test.test();
        Outer.Inner inner = new Outer().new Inner(); 
        inner.show();

    }
    
}

class Outer{
    private int num = 4;
    public void test(){
        Inner inner = new Inner();
        inner.show();

    }
    class Inner{ 
        void show(){
            System.out.println("the inner method had been called!");
            System.out.println("the num is:" + num);
        }

    } 
}
